﻿'Params
'user (Optional) : The user to fetch info for. Defaults to the authenticated user.
'api_key (Required) : A Last.fm API key.

'Auth
' This service does not require authentication. 

Public Class UserGetInfo
	Inherits BaseRequest
    Dim user As String = ""

	Public xmlresponse As XDocument = Nothing

    Public Sub New(user As String)
        Me.user = user

    End Sub

	Public Sub sendRequest()
        InitializeMembers("user.getInfo")

        AddMember("user", user, False)
        AddMember("api_key", My.Settings.api_key, False)

        xmlresponse = sendPOSTResponse()
	End Sub

	'	Public Function getResponse() As AlbumGetInfoResponse
	'	Dim response As New AlbumGetInfoResponse
	'		response.album = New Album(xmlresponse.<lfm>.<album>.First)
	'		Return response
	'	End Function
End Class
